package com.ck.common.model;

/**
 * @description: 素材实体类
 * @author: zhanglei
 * @date: 2019/4/29 10:14
 */
public class File {
    /**
     * 素材id
     */
    private Long fileId;

    /**
     * 素材名称
     */
    private String fileName;

    /**
     * 素材保存地址
     */
    private String url;

    /**
     * 文件MD5值
     */
    private String md5;

    /**
     * 素材播放时长
     */
    private Long duration;

    /**
     * 文件大小
     */
    private Long size;

    /**
     * 文件后缀
     */
    private String fileSuffix;

    /**
     * 文件类型
     */
    private String fileType;

    /**
     * 素材添加时间戳
     */
    private Long addTime;

    /**
     * 素材分组id
     */
    private Long groupId;

    /**
     * 创建人id
     */
    private Long createPerson;

    /**
     * 创建人类型 1-商家 2-客户
     */
    private Integer createPersonType;

    /**
     * 文件展示图片地址
     */
    private String fileImageUrl;

    /**
     * 部门id(保留数据)
     */
    private Long departmentId;

    public File() {

    }

    public File(String url) {
        this.url = url;
    }

    public Long getFileId() {
        return fileId;
    }

    public void setFileId(Long fileId) {
        this.fileId = fileId;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getMd5() {
        return md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
    }

    public Long getDuration() {
        return duration;
    }

    public void setDuration(Long duration) {
        this.duration = duration;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    public String getFileSuffix() {
        return fileSuffix;
    }

    public void setFileSuffix(String fileSuffix) {
        this.fileSuffix = fileSuffix;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public Long getAddTime() {
        return addTime;
    }

    public void setAddTime(Long addTime) {
        this.addTime = addTime;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public Long getCreatePerson() {
        return createPerson;
    }

    public void setCreatePerson(Long createPerson) {
        this.createPerson = createPerson;
    }

    public Integer getCreatePersonType() {
        return createPersonType;
    }

    public void setCreatePersonType(Integer createPersonType) {
        this.createPersonType = createPersonType;
    }

    public String getFileImageUrl() {
        return fileImageUrl;
    }

    public void setFileImageUrl(String fileImageUrl) {
        this.fileImageUrl = fileImageUrl;
    }

    public Long getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Long departmentId) {
        this.departmentId = departmentId;
    }
}
